import HeartData from './HeartData';
export default class ChartLineData {
    constructor(o, p, q) {
        this.points = [];
        this.drawPoints = [];
        this.name = o;
        this.color = p;
        this.points = q;
        this.convert(q);
    }
    convert(j) {
        this.drawPoints = [];
        j.forEach((l, m) => {
            const n = new HeartData(l);
            this.drawPoints.push(n);
        });
    }
    getDrawPoints() {
        return this.drawPoints;
    }
    getColor() {
        return this.color;
    }
    getName() {
        return this.name;
    }
}
